﻿using Newtonsoft.Json;
using Org.BouncyCastle.Crypto;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// TU产地变更申请审批 主表
    /// </summary>
    [SugarTable("TUDCBGSQHeader")]
    public class TUDCBGSQHeader : BaseHead
    {
        /// <summary>
        /// 紧急程度
        /// </summary>
        public string Jjcd { get; set; }

        /// <summary>
        /// 供应链交付中心
        /// </summary>
        public string Gyljfzx { get; set; }

        /// <summary>
        /// 现工厂代码
        /// </summary>
        public string CurrentFactory { get; set; }

        /// <summary>
        /// 现工厂名称
        /// </summary>
        public string CurrentFactoryName { get; set; }

        /// <summary>
        /// 申请开发工厂代码
        /// </summary>
        public string OpenFactory { get; set; }

        /// <summary>
        /// 申请开发工厂名称
        /// </summary>
        public string OpenFactoryName { get; set; }

        /// <summary>
        /// 需求描述
        /// </summary>
        public string Requirement { get; set; }

        /// <summary>
        /// 合计
        /// </summary>
        public string TotalQuantity { get; set; }

        /// <summary>
        /// 是否涉及设备投资
        /// </summary>
        public string IsSBTZ { get; set; }

        /// <summary>
        /// 投资金额（元）未税
        /// </summary>
        public string Investment { get; set; }

        /// <summary>
        /// 制造管理部评审 补充说明
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// BOM成本测算是否正常
        /// </summary>
        public string IsCBCSSFZC { get; set; }

        /// <summary>
        /// 投资回报测算
        /// </summary>
        public string ReturnCalculation { get; set; }

        /// <summary>
        /// 投资回报期
        /// </summary>
        public string PaybackPeriod { get; set; }

        /// <summary>
        ///  产地变更需求列表
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<TUDCBGSQDetail1> LineData1 { get; set; }

        /// <summary>
        ///  安环评审列表 列表
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<TUDCBGSQDetail2> LineData2 { get; set; }

        /// <summary>
        ///  品保中心评审 列表
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<TUDCBGSQDetail2> LineData3 { get; set; }

        /// <summary>
        ///  品质管理部评审 列表
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<TUDCBGSQDetail2> LineData4 { get; set; }

        /// <summary>
        ///  计划管理部评审 列表
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<TUDCBGSQDetail2> LineData5 { get; set; }

        /// <summary>
        ///  制造管理部评审 列表
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<TUDCBGSQDetail3> LineData6 { get; set; }

        /// <summary>
        ///  物流中心评审 列表
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<TUDCBGSQDetail4> LineData7 { get; set; }
    }
}
